/** 
 * 自己的额自提点相关接口
 */

import request from 'utils/request'

// 查询分享员自提点信息
export const disSMPoint = params => request.get("/p/disSMPoint", params);

// 保存/更新分享员自提点
export const editDisSMPoint = params => request.post("/p/disSMPoint", params, {});

// 自提订单详情
export const disSMPointOrderDetail = params => request.get("/p/disSMPoint/orderDetail", params);

// 分享员自提订单列表
export const disSMPointOrderList = params => request.get("/p/disSMPoint/orderList", params);

// 分享员备货完成
export const disSMPointStockUp = params => request.post("/p/disSMPoint/stockUp", params);

// 修改状态
export const disSMPointUpdateStatus = params => request.post("/p/disSMPoint/updateStatus", params);

// 核销
export const disSMPointWriteOff = params => request.post("/p/disSMPoint/writeOff", params);

// 核销验证
export const disSMPointWriteOffVerification = params => request.post("/p/disSMPoint/writeOffVerification", params);

// 校验分享员是否有自提点权益
export const disSMPointVerification = params => request.get("/p/disSMPoint/verification", params);

